package com.dcbeida.fragment.stockFragment;

import com.dcbeida.base.BasePresenter;
import com.dcbeida.base.BaseView;
import com.dcbeida.bean.Stock;

import java.util.ArrayList;

/**
 * Created by 150410 on 2017/9/8.
 */

public interface StockContract {
    interface View extends BaseView<Persent> {
        void showTelTip(String msg);//接口返回的msg

        void showView(boolean hasData);//接口有返回数据

        void showList(ArrayList<Stock.ListBean> list);

        void showData(Stock stock);

        void addHeader();
    }

    interface Persent extends BasePresenter {
        void getList(int pageindex, int pagesize);
        void getList(int pageindex, int pagesize,boolean isShow);
    }
}
